package com.authine.cloudpivot.ext.dto.model.invoice;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Builder
public class ConfirmInvoice {

    @Schema(description = "发票申请单编号")
    private String id;

    @Schema(description = "确认收票时间")
    private Date confirm_time;
    @Schema(description = "发票申请单确认收票人ID")
    private String recipient_member_id;
    @Schema(description = "发票申请单确认收票人全名")
    private String recipient_member_name;
    @Schema(description = "是否寄送发票，默认false")
    private boolean ifSend = false;

    /**
     * 发票记录表
     */
    @ApiModelProperty(value = "开票记录", required = true)
    @Schema(description = "开票记录")
    private List<InvoiceRecord> invoiceApplyRecordList;
}
